using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;using Maxleaf.EDI.Domain.K3;

namespace Maxleaf.EDI.DataAccess.K3
{
    public class t_Base_UpgradeEventLogMap : EntityTypeConfiguration<t_Base_UpgradeEventLog>
    {
        public t_Base_UpgradeEventLogMap()
        {
            // Primary Key
            this.HasKey(t => t.FID);

            // Properties
            // Table & Column Mappings
            this.ToTable("t_Base_UpgradeEventLog");
            this.Property(t => t.FID).HasColumnName("FID");
            this.Property(t => t.FMessage).HasColumnName("FMessage");
            this.Property(t => t.FTime).HasColumnName("FTime");
            this.Property(t => t.FRecordType).HasColumnName("FRecordType");
            this.Property(t => t.FBusinessType).HasColumnName("FBusinessType");
        }
    }
}
